package com.example.lenovo.test01.listview;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ListView;

import com.example.lenovo.test01.R;

public class ListViewActivity extends AppCompatActivity {

    private ListView mlv1;
    private ListView mlv2;
    private ListView mlv3;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_list_view);

        mlv1=findViewById(R.id.lv1);
        mlv1.setAdapter(new MyListAdapter(ListViewActivity.this));

        mlv2=findViewById(R.id.lv2);
        mlv2.setAdapter(new MyListAdapter(ListViewActivity.this));

        mlv3=findViewById(R.id.lv3);
        mlv3.setAdapter(new MyListAdapter(ListViewActivity.this));
    }
}
